import axios from "axios";

const request = axios.create({
  baseURL: "/dev",
  timeout: 3000,
});

request.interceptors.request.use((config) => {
  console.log(config, "config");

  return config;
});
request.interceptors.response.use((res) => {
  console.log(res, "res");
  return res.data;
});

export default request;
